<?php
if (!defined('vlibIniClassLoaded')){
    define('vlibIniClassLoaded', 1);

    class vlibIni {

        function vlibTemplate(){
		    return array(
		      // Default directory for your template files (full path)
		      // leave the '/' or '\' off the end of the directory.
		      'TEMPLATE_DIR'=>'',
		      // Drill depth for tmpl_include's
		      'MAX_INCLUDES'=>10,
		      // if set to 1, any variables not found in a
		      // loop will search for a global var as well
		      'GLOBAL_VARS' => 1,
		      // if set to 1, vlibTemplate will add global vars
		      // reflecting the environment.
		      'GLOBAL_CONTEXT_VARS'=>1,
		      // if set to 1, vlibTemplate will add loop specific vars
		      // on each row of the loop.
		      'LOOP_CONTEXT_VARS'=>1,
		      // Sets a global variable for each top level loops
		      'SET_LOOP_VAR'=>1,
		      // 1 of the following: html, url, sq, dq, none
		      'DEFAULT_ESCAPE'=>'none',
		      // Dies when encountering an incorrect tmpl_*
		      // style tags i.e. tmpl_vae
		      'STRICT'=>1,
		      // Removes case sensitivity on all variables
		      'CASELESS'=>1,
		      // How to handle unknown variables.
		      // 1 of the following: ignore, remove, leave, print, comment
		      'UNKNOWNS'=>'ignore',
		      // Will enable you to time how long vlibTemplate takes to parse
		      // your template. You then use the function: getParseTime().
		      'TIME_PARSE'=>'0',

		      // Will allow template to include a php file using <TMPL_PHPINCLUDE>
		      'ENABLE_PHPINCLUDE' => '1',

		    /* the following are only used by the vlibTemplateCache class. */
		      // Directory where the cached filesystem
		      // will be set up (full path, and must be writable)
		      // '/' or '\' off the end of the directory.
		      'CACHE_DIRECTORY'=>'',
		      // Duration until file is re-cached in seconds (604800=1 week)
		      'CACHE_LIFETIME'=>86400,
		      // extention to be used by the cached file i.e. index.php will become
		      // index.vtc (vlibTemplate Compiled)
		      'CACHE_EXTENSION'=>'vtc'
		    );
        } // function vlibTemplate

	    /* config vars for vlibDate */

	    function vlibDate(){
		    return array(
		       // default language for the date displays
		      'DEFAULT_LANG'=>'ru'
		    );
		} // function vlibDate

    }; // class vlibIni

}
?>